package com.douguo.recipe.network;

public class Constant {
	public static final String CAIXI_ID = "caixi_id";
	public static final String CAIPIN_ID = "caipin_id";
	public static final String NANDU_ID = "nandu_id";
	public static final String KOUWEI_ID = "kouwei_id";
	public static final String TESE_ID = "tese_id";
	
	public static final String URL_GET_RECIPE_LIST = "http://api.douguo.com/getCookList.php";
	public static final String URL_GET_SORT_LIST = "http://api.douguo.com/getSort.php";
	public static final String URL_GET_COOKINFO = "http://api.douguo.com/getCookInfo.php";
	public static final String URL_GET_SEARCH = "http://api.douguo.com/search.php";
	public static final String URL_GET_CALENDAR = "http://api.douguo.com/getCalCook.php";
	public static final String URL_GET_HOME_LIST = "http://api.douguo.com/getIndexCooks.php";//ver1.5
	public static final String URL_GET_HOME = "http://api.douguo.com/iphone.php";//ver2.0
	public static final String URL_GET_EK_ARTICLE_LIST = "http://api.douguo.com/getEkanByCate.php";//获取某分类下e刊的列表，无缩略图 ver2.0
	public static final String URL_GET_EK_ARTICLE_THUMBLIST = "http://api.douguo.com/getEkanThumbByCate.php";//获取某分类下e刊的列表，有缩略图 ver2.0
	public static final String URL_GET_EK_ARTICLE = "http://api.douguo.com/getEkanDetail.php?id=";
	public static final String URL_GET_HOME_CACHE_PHOTO = "http://api.douguo.com/iphone.php?action=idx_banner";
	//-------------msg---------------
	public static final int GET_RECIPE_NETWORK = 0;
	public static final int GET_RECIPE_DATABASE = 1;
	public static final int GET_SORT = 2;
	public static final int GET_PHOTO = 3;
	public static final int CLOSE_AND_START_ACTIVITY = 4;
	public static final int MSG_HOT_CATEGORIES = 5;
	public static final int MSG_HOT_EK_ARTICLE = 6;
	public static final int GET_EK_SORT = 7;
	public static final int GET_EK_ARTICLES = 8;
	//-------------------------------
	
	public static final int TYPE_CAIXI = 0;
	public static final int TYPE_KOUWEI = 1;
	public static final int TYPE_CAIPIN = 2;
	public static final int TYPE_TESE = 3;
	
	//------------SharedPreferences-------------
//	public static final String PREFERENCES_STATE = "state";
//	public static final String PREFERENCES_STATE_NETWORK = "network_state";

	//------------Number-------------
	public static final int MAX_HOME_GALLERY_NUMBER = 5;
	
	//------------Manager------------
	public static final String PREFERENES_MANAGER = "preference_manager";
	
	//-----------Preferences---------
	public static final String PREFERENCES_NAME = "douguo_preference";
	public static final String PREFERENCES_KEY_USENETWORK = "usenetwork";
	public static final String PREFERENCES_KEY_DOWNLOADTHUMBNARIL = "downloadthumb";
	public static final String PREFERENCES_KEY_DOWNLOADIMAGE = "downloadpic";
	public static final String PREFERENCES_KEY_HASINIT = "hasinit";
	
	//-----------GLOBAL VARIABLE-----------
	public static final String GLOBAL_HOT_MENU = "global_hotmenu";
	public static final String GLOBAL_HOT_RECIPE = "global_hotrecipe";
	public static final String GLOBAL_EK_ARTICLES = "global_articles";
}
